#pragma once
#include "circuitunitdisobj.h"
#include "dcl_InterfaceCircuit.h"

class CCircuitPowerPort;
class DEF_INTERFACECIRCUIT CCircuitPowerPortDisObj :
	public CCircuitUnitDisObj
{
public:
	CCircuitPowerPortDisObj(CCircuitPowerPort *pPowerObj);
	CCircuitPowerPortDisObj(const CCircuitPowerPortDisObj *pDisObj, CCircuitPowerPort *pPowerObj=NULL);
	~CCircuitPowerPortDisObj(void);

public:
	virtual void Serialize(CArchive & ar);
	virtual void Display(CHoopsMap *pHoopsMap);
	virtual void Transform(const CMatrix transf);
	virtual CObj * Clone() const;
	virtual bool GetBox(double & dblLeft, double & dblBottom, double & dblRight, double & dblTop) const;
	virtual eCircuitUnitType GetCircuitUnitType() const;

public:
	void DisplayCircleObj();
	void DisplayArrowObj();
	void DisplayBarObj();
	void DisplayWaveObj();
	void DisplayPowerGroundObj();
	void DisplaySignalGroundObj();
	void DisplayEarthObj();
	void DisplayCrossSheetConnObj();
	void DisplayText();

};

